package com.mes.biz.mapper;

import com.mes.biz.domain.BizOrder;
import com.mes.biz.domain.vo.BizOrderMaterialVo;
import com.mes.biz.domain.vo.OrderTrackingVo;
import com.mes.common.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.mes.biz.domain.BizOrderMaterial;

import java.util.List;

/**
 * 销售单物料Mapper接口
 * @author wy
 * @email wy
 * @date 2023-06-20
 */
public interface BizOrderMaterialMapper extends BaseMapper<BizOrderMaterial>
{

    /**
     * 批量删除销售单物料
     * @param ids 需要删除的销售单物料ID集合
     * @return
     */
    public int deleteBizOrderMaterialByIds(@Param("ids") String[] ids, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);

    public int deleteBizOrderMaterialByOrderId(@Param("orderId") String orderId, @Param("DEL_FLAG_DELETE") String DEL_FLAG_DELETE);

    public List<BizOrderMaterial> getBizOrderMaterialByOrderId(@Param("orderId") String orderId);

    public List<BizOrderMaterialVo> findExportList(BizOrderMaterial bizOrderMaterial);

    public List<BizOrderMaterialVo> findPickList(BizOrderMaterial bizOrderMaterial);

}
